<script setup lang="ts">
    import { TextBody } from '@/services/type'; 

    defineProps<{ body: TextBody }>();
</script>
<template>
    <div class="text" v-html="body.content"></div>
</template>
<style lang="css" scoped>
    .text {
        width: fit-content;
        border-radius: 5px;
        padding: 10px 12px;
        background: #1D90F5;
    }
</style>